<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
         var num1=10;
         console.log(typeof num1);  //number
         var flag=true;
         console.log(typeof flag);  //boolean
         var tmp3;
         console.log(typeof tmp4);  //undefined
         var tmp4=null;
         console.log(typeof tmp4);  //object
    </script>
</head>
<body>
    
</body>
</html>